(Al-Jasiya ) 45 : 22
وَخَلَقَ اللَّهُ السَّمَاوَاتِ وَالْأَرْضَ بِالْحَقِّ وَلِتُجْزَىٰ كُلُّ نَفْسٍ بِمَا كَسَبَتْ وَهُمْ لَا يُظْلَمُونَ

And Allah has created the heavens and the earth with Truth, and to reward each soul with what she has earned; and they won’t be shown injustice.

This verse teaches that the aim of creating the heavens and the earth is to make mankind—who are given freedom to be grateful or ungrateful—undergo the Trial and to know who will prepare Paradise in this fourth phase to inherit it in the seventh phase, as explained in verse 6: 165. As explained in verses 17: 13-14; 18: 49; and 45: 28-29, the reckoning of every individual will be done on the Day of Judgment by reading the Book of Deeds individually, which is fastened around everyone’s neck and will be taken out as an illuminated open book. So whoever sees all the scenes that will happen in the Hereafter from the Lord’s Book Adhikr, and causes to be recorded in their Book of Deeds the thoughts and deeds which can be readable in the Hereafter and will witness in favor of him, such will succeed. Since he is living here mindful of that Book of Deeds, no harm will affect him in Heaven or on Earth. See explanation 39: 69; and 44: 38-39.